/*--------------------------------------------------------------------------------
 * Adaptive Intelligence - Foundation Framework Class Library
 * Version 2.00
 * 
 * Service Startup Type Enumeration
 *		Lists the types of startup modes for Windows Services with the 
 * appropriate registry code values.
 *------------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------------
 * System Imports
 *------------------------------------------------------------------------------*/
using System;

namespace Adaptive.Foundation.SysTools
{
    /// <summary>
    /// Lists the types of startup modes for Windows Services with the 
    /// appropriate registry code values.
    /// </summary>
    /// <remarks>
    /// The values in this enumeration are the same as the codes written
    /// to the related service entry in the registry.
    /// </remarks>
    public enum ServiceStartupType
    {
        /// <summary>
        /// An unknown start-up state was recorded in the registry.
        /// </summary>
        Unknown = 0,
        /// <summary>
        /// Service startus automatically when system starts.
        /// </summary>
        Automatic = 2,
        /// <summary>
        /// Service starts when explicitly called upon.
        /// </summary>
        Manual = 3,
        /// <summary>
        /// Service is disabled and cannot start.
        /// </summary>
        Disabled = 4
    }
}